import java.io.File;

//import com.xingkoo.Constant;


public class test {
	public final static String ROOT = test.class.getResource("/").toString().replace("/WEB-INF/classes/", "").replace("file:/", "");
	public static void main(String[] args) {
		File temp = new File("/") ;
		 System.out.println(temp.getAbsolutePath()) ;
		 System.out.println(temp.getPath()) ;
		 System.out.println(new File("/"+ROOT+"0.jpg").exists()) ;
	}
}
